package cn.ht.jywrwater.module.ht.convert.statisticsdevicecount;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.statisticsdevicecount.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.statisticsdevicecount.StatisticsDeviceCountDO;

/**
 * 设备在线统计 Convert
 *
 * @author hzx
 */
@Mapper
public interface StatisticsDeviceCountConvert {

    StatisticsDeviceCountConvert INSTANCE = Mappers.getMapper(StatisticsDeviceCountConvert.class);

    StatisticsDeviceCountDO convert(StatisticsDeviceCountCreateReqVO bean);

    StatisticsDeviceCountDO convert(StatisticsDeviceCountUpdateReqVO bean);

    StatisticsDeviceCountRespVO convert(StatisticsDeviceCountDO bean);

    List<StatisticsDeviceCountRespVO> convertList(List<StatisticsDeviceCountDO> list);

    PageResult<StatisticsDeviceCountRespVO> convertPage(PageResult<StatisticsDeviceCountDO> page);

    List<StatisticsDeviceCountExcelVO> convertList02(List<StatisticsDeviceCountDO> list);

}
